package day02;

public class VarHome {
    public static void main(String[] args) {
        int a;
        int b,c,d;
        int e=5;
        e=8;
        int f=1,g=2;
        System.out.println(e);
        System.out.println(f);

        long h=2000000000000l;
        double i=89.99;
        float y=56.88F;
        boolean j=true;
        boolean k=false;
        char c1='女';
        char c2='\\';

        short s1=3;
        short s2=4;
        short s3=(short)(s1+s2);//强转
        int p=5;
        long p1=p;//自动转
        double d1=3.14;
        int d2=(int)d1;
        System.out.println(d2);//丢精度
        System.out.println('2'+'2');//100
        System.out.println('2');//2
        System.out.println(2+'2');//52

    }
}
